from django.urls import path
from user.views import LoginView, RegisterView, GetLoginUserView, ImageView, UpdateAvatarView

urlpatterns = [
    path('login',LoginView.as_view(),name='login'),
    path('register', RegisterView.as_view(), name='register'),
    path('getLoginUser', GetLoginUserView.as_view(), name='getLoginUser'),
    path('uploadImage',ImageView.as_view(), name='uploadImage'),
    path('updateAvatar', UpdateAvatarView.as_view(), name='updateAvatar'),
]